<?php
//Compiled by TIBlog Template Engine v2.0 , Created on : 2011-05-02 21:03:32
defined('IN_DTE') or exit('Access Denied');
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<TITLE><?php
echo $_obj['mtitle'];
?>
 剧照</TITLE>
<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<meta name="keywords" content="<?php
echo $_obj['title'];
?>
,剧照,截图,下载"/>
<meta name="description" content="<?php
echo $_obj['title'];
?>
剧照和截图"/>
<LINK rel=stylesheet type=text/css href="/static/css/global.css">
<LINK rel=stylesheet type=text/css href="/static/css/packed_douban53.css">
<LINK rel=stylesheet type=text/css href="/static/css/packed__all12.css">
<script type="text/javascript" src="/static/js/jquery.min4.js"></script>
<script type="text/javascript" src="/static/js/dialog.js"></script>
</head>
<body>
<script type="text/javascript">
function recommendPhoto(id){
	votes = $.ajax({url:"/photos/recommend/" + id ,async:false});
	result = votes.responseText;
	if (result == 'ok'){
		val = parseInt($("#recommend_val_" + id)[0].value);
		$("#recommend_" + id).html(val + 1);
	}else if (result == 'nologin'){
		window.location.href="/login"; 
	}else{
		$.fn.jmodal({title: '推荐图片',content: result+'<BR>'});	
		window.setTimeout($.fn.hideJmodal,700);
	}
}
</script>

<div id=header>
	<div class="topbar">
		<div class="l"></div>
		<div class="r"><?php
echo $_obj['logintip'];
?>
</div>		
	</div>
	<div class=topper>
		<div class=logo>
			<p><a href="/">电影评论网</a><span>beta</span></p>
			</br>
			<p>movie.com</p>
			<p>最新、最热、最实时的电影信息和评论</p> 
		</div>
		<div class=nav>
			<ul>
				<li><a href="/movie/coming">即将上映</a>  |</li>
				<li><a href="/movie/hot">最热</a>  |</li>
				<li><a href="/movie/popular">最多喜欢</a>  </li>
				<!--  <li><a href="/<?php
echo $_obj['myspace'];
?>
">我的空间</a></li>    先隐藏不用-->
			</ul> 
		</div>
	</div>
	<div class=searchbar>
		<form method="get" action="/search/">
			<input type="text" class="ipt" name="keywords" value="电影名称、导演或演员" onblur="if(this.value=='') this.value='电影名称、导演或演员';" 
		onfocus="if(this.value=='电影名称、导演或演员') this.value='';" /><input type="submit" class="sbtn" value="" />
		</form>
	</div>
</div>
        
<div id="content">
<h1><?php
echo $_obj['mtitle'];
?>
的图片</h1>
<div class="grid-16-8 clearfix">
<div class="article">
<div class="opt-bar-line clearfix">
	<span class="opt-left">共<?php
echo $_obj['photos'];
?>
张</span>
	<span class="opt-mid">
		<?php
echo $_obj['prevPhoto'];
?>

		 &nbsp;/&nbsp;
		<?php
echo $_obj['nextPhoto'];
?>

	</span>
	<span class="fright">&gt;&nbsp;<a href="/movie/<?php
echo $_obj['mid'];
?>
/photos">浏览所有图片</a></span>
</div>
<?php
echo $_obj['title'];
?>

<div class="photo-show">
	<a class="mainphoto" href="/static/upload/photos/<?php
echo $_obj['filename'];
?>
" target="_blank" title="点击查看原图"><img src="/static/upload/photos/<?php
echo $_obj['filename'];
?>
" style="max-width:600px;width:expression(this.width>500?”500”:auto);"/></a>
</div>

<div class="clearfix">
	<span class="update magnifier"><a class="j a_show_login" target="_blank" href="/static/upload/photos/<?php
echo $_obj['filename'];
?>
">查看原图</a></span>
	<div class="rec-sec">
	<input id="recommend_val_<?php
echo $_obj['id'];
?>
" value="0" type="hidden"/>
		<span class="rec-num"><b id="recommend_<?php
echo $_obj['id'];
?>
"><?php
echo $_obj['recommend'];
?>
</b>人推荐</span> /  
		<span class="rec"><a href="javascript:;" onclick="recommendPhoto('<?php
echo $_obj['id'];
?>
')">推荐</a></span>
	</div>
</div>
<h2>您的回应：</h2>
<div style="margin-top:0px;text-align:right">
	<form name="comments" method="post" action="/photos/reply/<?php
echo $_obj['id'];
?>
">
		<p>

		  <textarea class="textarea" name="content" style="width:575px;height:50px;margin:0px"></textarea>
		  		
				
		 <!--×××××××××××××××××××××××  新增 同步微博内容  ×××××××××××××××××××××××××××××××××××××   -->	  
		  <input name="photourl" type="hidden" value="/static/upload/photos/<?php
echo $_obj['filename'];
?>
" />
		  <input name="mtitle" type="hidden" value="<?php
echo $_obj['mtitle'];
?>
" />
		  <label>
<input type="checkbox" name="checkbox" value="check" checked />
<img  src="http://www.sinaimg.cn/blog/developer/wiki/LOGO_16x16.png">同步到新浪微博&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </label>
		 <!--×××××××××××××××××××××××  新增 同步微博内容  ×××××××××××××××××××××××××××××××××××××   -->	


		  <input type="submit" class="btn" value="添加" />
		      </p>
	</form>
</div>

<div id="comments">
<?php
if (!empty($_obj['replyList'])){
if (!is_array($_obj['replyList']))
$_obj['replyList']=array(array('replyList'=>$_obj['replyList']));
$_tmp_arr_keys=array_keys($_obj['replyList']);
if ($_tmp_arr_keys[0]!='0')
$_obj['replyList']=array(0=>$_obj['replyList']);
$_stack[$_stack_cnt++]=$_obj;
foreach ($_obj['replyList'] as $rowcnt=>$replyList) {
$replyList['ROWCNT']=$rowcnt;
$replyList['ALTROW']=$rowcnt%2;
$replyList['ROWBIT']=$rowcnt%2;
$_obj=&$replyList;
?>
<table class="wr">
	<tr>
		<td valign="top" width="75"><a href="/people/<?php
echo $_obj['uid'];
?>
/"><img class="pil" src="/static/avatars/<?php
echo $_obj['avatars'];
?>
"></a></td>
		<td valign="top"><span class="wrap"><h4><?php
echo $_obj['addtime'];
?>
: <a href="/people/<?php
echo $_obj['uid'];
?>
/"><?php
echo $_obj['username'];
?>
</a></h4></span><?php
echo $_obj['contents'];
?>
<br/></td>
	</tr>
</table>
<br/>
<?php
}
$_obj=$_stack[--$_stack_cnt];}
?>
<?php
echo $_obj['pages'];
?>

</div>

</div>
<div class="aside">


<div class="mod">

<h2>图片信息······</h2>
<ul class="poster-info">
<li>电影名称：<a href="/movie/<?php
echo $_obj['mid'];
?>
/"><?php
echo $_obj['mtitle'];
?>
</a></li>
<li class="pl">上传于：&nbsp;<?php
echo $_obj['addtime'];
?>
</li>
</ul>
<p class="pl2">
&gt;&nbsp;<a href="/movie/<?php
echo $_obj['mid'];
?>
/">去<?php
echo $_obj['mtitle'];
?>
的页面</a>
</p>
</div>


</div>
</div>
    </div>


<DIV class=clear></DIV>
<DIV id="footer">
	<DIV class="left">
		&copy; 2010 Movie.com, All Rights Reserved.&nbsp;&nbsp;&nbsp;苏ICP没有备案号&nbsp;&nbsp;<BR>
		<SPAN><?php
echo $_obj['debuginfo'];
?>
</SPAN>
	</DIV>
	<DIV class="right">
		<A href="/about/aboutus">关于我们</A>
		<A href="/about/flinks">友情链接</A>
		<A href="/about/contact">联系及合作</A>
		<A href="/about/feedback">投诉与建议</A>
		<A href="/about/sitemap">站点地图</A>
		<A href="/about/sitemap">使用帮助</A>		 
	</DIV>
</DIV>       
</body></html>